package cn.com.nes.site.controller.crm.opportunity.vo;

import cn.com.nes.site.entity.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@ApiModel("终端客户excel导入模型")
@Data
public class ImportExcelOfEndCustomerVO extends BaseVO {

    @ApiModelProperty(value = "主商机UUID", required = true)
    @NotBlank(message = "主商机")
    private String mainOpportunityUuid;

    @ApiModelProperty(value = "导出类型", required = true, notes = "0-全量，1-增量，2-更新")
    @NotNull(message = "导出类型")
    private Integer exportType = 0;

    @ApiModelProperty(value = "商务项目名称", hidden = true)
    private String opportunityName;

    @ApiModelProperty(value = "保存来源", notes = "01-商务项目，02-施工项目")
    private String saveSoure = "01";

}
